<?php
$this->breadcrumbs=array(
	'Tai Khoans'=>array('index'),
	$model->Id,
);

$this->menu=array(
	array('label'=>'Danh sách', 'url'=>array('index'), 'itemOptions'=>array('class'=>'li-index')),
	array('label'=>'Tạo mới', 'url'=>array('create'), 'itemOptions'=>array('class'=>'li-add')),
	array('label'=>'Cập nhật', 'url'=>array('update', 'id'=>$model->Id), 'itemOptions'=>array('class'=>'li-update')),
	array('label'=>'Xóa', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->Id),'confirm'=>'Bạn chắc chắn muốn xóa dữ liệu này?'), 'itemOptions'=>array('class'=>'li-del')),
	array('label'=>'Quản lý', 'url'=>array('admin'), 'itemOptions'=>array('class'=>'li-admin')),
);
?>

<h1 class="data_title">CHI TIẾT TÀI KHOẢN</h1>

<table id="tbl-view">
	<tr height="30">
    	<th><?php echo $model->getAttributeLabel('Id'); ?>:</th>
    	<td><?php echo $model->Id; ?></td>
  	</tr>
  	
  	<tr height="30">
    	<th><?php echo $model->getAttributeLabel('TaiKhoan'); ?>:</th>
    	<td><?php echo $model->TaiKhoan; ?></td>
  	</tr>
  	
  	<tr height="30">
    	<th><?php echo $model->getAttributeLabel('Email'); ?>:</th>
    	<td><?php echo $model->Email; ?></td>
  	</tr>
  	
  	<tr height="30">
    	<th><?php echo $model->getAttributeLabel('TrangThai'); ?>:</th>
    	<td>
    		<img src="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/images_css/icons/
			<?php 
				switch ($model->TrangThai){
					case 0:
						echo "not_active.png";
						break;
					case 1:
						echo "active.png";
						break;
				}
			?>	
			" style="width: 15px; height: 15px;"/>
    	</td>
  	</tr>
</table>